<?php
namespace zake\foundation\able\stream;

use zake\foundation\able\ProtocolAble;

interface PointAble
{

    /**
     *
     * @param ProtocolAble $protocol
     * @return bool
     *
     * @author liu.bin 2020-04-02 22:21
     */
    public function setProtocol(ProtocolAble $protocol);


    /**
     *
     * @return ProtocolAble|null
     *
     * @author liu.bin 2020-04-02 22:21
     */
    public function getProtocol();

}